class AddCarriedByAndRenameParentToItems < ActiveRecord::Migration
  def self.up
    add_column :items, :carried_by_id, :integer
    rename_column :items, :parent_id, :replaced_id
  end

  def self.down
    rename_column :items, :replaced_id, :parent_id
    remove_column :items, :carried_by_id
  end
end
